package com.yc.consumerservice.feign;

import com.yc.consumerservice.entity.ImagePathEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = "ocr-service")
public interface OcrClient {
    @PostMapping("/ocr/")
    String recognizeImage(@RequestBody ImagePathEntity imagePathEntity);
}
